﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Ghost.Tasks.Wiki.XApi
{
    public partial class XStruct
    {
        [XmlIgnore]
        public XStruct parentStruct;

        public override void ApplyMembers()
        {
            this.field = members.OfType<XField>().ToArray();
            this.property = members.OfType<XProperty>().ToArray();
            this.method = members.OfType<XMethod>().ToArray();
            this.@event = members.OfType<XEvent>().ToArray();
        }
    }
}
